package org.jctc.els.modules.biz.service.pro;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jctc.els.modules.biz.entity.pro.ProjectReviewDetailed;


/**
 * 评审明细表;(els_project_review_detailed)表服务接口
 * @author : http://www.chiner.pro
 * @date : 2022-6-21
 */
public interface ProjectReviewDetailedService{

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    ProjectReviewDetailed queryById(Long id);

    /**
     * 分页查询
     *
     * @param projectReviewDetailed 筛选条件
     * @param current 当前页码
     * @param size  每页大小
     * @return
     */
    Page<ProjectReviewDetailed> paginQuery(ProjectReviewDetailed projectReviewDetailed, long current, long size);
    /**
     * 新增数据
     *
     * @param projectReviewDetailed 实例对象
     * @return 实例对象
     */
    ProjectReviewDetailed insert(ProjectReviewDetailed projectReviewDetailed);
    /**
     * 更新数据
     *
     * @param projectReviewDetailed 实例对象
     * @return 实例对象
     */
    ProjectReviewDetailed update(ProjectReviewDetailed projectReviewDetailed);
    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Long id);
}
